<link rel="stylesheet" type="text/css" href="css/caseBarRelevancyList.css"/>
<link rel="stylesheet" type="text/css" href="css/feedback.css"/>

<style>

    #goTopBtn {
        POSITION: fixed;
        TEXT-ALIGN: center;
        LINE-HEIGHT: 30px;
        WIDTH: 30px;
        BOTTOM: 25px;
        HEIGHT: 33px;
        FONT-SIZE: 12px;
        CURSOR: pointer;
        RIGHT: 60px;
        _position: absolute;
        _right: auto
    }
    #goTopBtn button{
      width: 90px;
      height: 34px;
      background: #fff;
      border: 1px solid #ccc;
      color:#3b3149;
    }
</style>


<div style="display: none" id="goTopBtn">
  <button>返回顶部</button>
    <!--<img border=0 src="img/upward.png">-->
</div>
<div class="yb-message-one">
    <span class="pull-left yb-one-span" ng-bind-html="Causes"><b>{{Causes}}</b></span>
    <!--<span class="pull-left yb-one-span"><b>赵启华 起诉北京区人民政府周启华一案</b></span>-->
    <div class="pull-right yb-one-right">

        <a href="http://59.110.64.34:8088/solr/getWordFile?id={{downloadid}}" target="_blank"> <img src="img/download.png"/></a>

    </div>
</div>
<div class="yb-message-two">
    <div class="pull-left yb-two-lift">
        <div class="yb-two-div">
            <div>
                <p ng-bind-html="Causes">{{Causes}}</p>
                <!--   <p>中保信用担保有限公司与海通证券有限公司等证券纠纷进行复议案</p>-->
                <div>
                    <button type="button" class="btn btn-primary btn-xs" style="width: 60px;height: 20px">二审</button>
                    <span>最高人民法院     （2013）执复字第2号 2014-04-01</span>
                </div>
                <div>
                    <span>【属性标签】 最高人民法院指导案例</span>
                    <a ng-model="caseSource" href="{{caseSource}}"><span>裁判书来源</span></a>

                </div>
            </div>
        </div>
        <div class="yb-two-div2">
            <div class="yb-two-div-title">
                <div class="pull-left one">
                    <span class="pull-left yb-span1">引用法规</span>
                </div>
                <div style="padding-top: 3px;padding-left: 80px;">
                    <span>   *本处法规摘自自然法院观点</span>
                </div>

            </div>
            <div>
                <div style="margin-top: 20px;">
                    <p class="yb-p-800">一审</p>
                    <p> 《中华人民共和国劳动法》 第三十条  <span style="color: red;"> (24501)   </span></p>
                    <p> 《中华人民共和国劳动法》 第三十条  <span style="color: red;"> (24501)   </span></p>
                    <p> 《中华人民共和国劳动法》 第三十条  <span style="color: red;"> (24501)   </span></p>

                </div>
            </div>

        </div>
        <div class="yb-two-div3" style="margin-top: 20px;">
            <div class="yb-two-div-title">
                <div class="one">
                    <span class="yb-span1">文件正文</span>
                </div>

            </div>
            <div>
                <div style="margin-top: 30px;" ng-repeat="txt in CaseMainTxt">
                    <p class="yb-p-800" id="{{txt.name}}" ng-bind-html="txt.headline"></p>
                    <p class="yb-p-left-top">

                        <p ng-bind-html="txt.body"></p>
                    </p>
                </div>

            </div>

        </div>
    </div>
    <div class="pull-left yb-two-right">
        <div>
            <div class="yb-two-right-div1">
                <span>快速目录</span>
            </div>
            <div class="yb-two-right-div2">
                <ul>
                    <li class="body">-文书正文</li>
                   <li ng-repeat="txt in CaseMainTxt">
                       <a  ng-click="Anchor(txt.name)">-{{txt.headline}}</a>
                   </li>


                </ul>
            </div>
        </div>

        <div class="yb-two-right-0">
            <span class="yb-two-2-title">
					基本信息
            </span>
            <div class="yb-two-2-body">
                <ul>
                    <li ng-repeat="txt in CaseMainTxt2">
                        <div>
                            <div class="pull-left" style="width: 49% ">
                                <span style="font-size: 16px;margin-left: 30px; line-height: 1.6"  ng-bind-html="txt.headline+':'"></span>
                            </div>


                            <div class="pull-left" style="width: 49%">
                                <span style="font-size: 16px;margin-left: 30px;  line-height: 1.6" ng-bind-html="txt.body"></span>
                            </div>

                        </div>

                    </li>
                </ul>

            </div>
        </div>

<!--<div class="clear"></div>

        <div class="yb-two-right-2">
            <div style="width:  100%;">
                <span>
                    <b>支持投票 </b>
                </span>
                <img class="pull-right" src="img/deleteblue.png" style="width: 25px;height: 25px"/>
            </div>
            <div style="text-align: center;font-size: 15px;">
                <p>本案案例有利于原告还是有利于被告</p>
            </div>
            <div style="padding-top: 30px;text-align: center;">
                <p style="padding-bottom: 40px">
                    <button type="button" class="btn btn-danger btn-lg" style="width: 120px;height: 50px">有利于原告</button>
                    <button type="button" class="btn btn-default btn-lg" style="width: 120px;height: 50px">有利于被告
                    </button>
                </p>
            </div>
        </div>
    </div>-->


</div>
</div>
<script type="text/javascript">

    function goTopEx() {
        var obj = document.getElementById("goTopBtn");

        function getScrollTop() {
            return document.documentElement.scrollTop + document.body.scrollTop;
        }

        function setScrollTop(value) {
            if(document.documentElement.scrollTop) {
                document.documentElement.scrollTop = value;
            } else {
                document.body.scrollTop = value;
            }
        }
        window.onscroll = function() {
            getScrollTop() > 0 ? obj.style.display = "" : obj.style.display = "none";
        }
        obj.onclick = function() {
            var goTop = setInterval(scrollMove, 10);

            function scrollMove() {
                setScrollTop(getScrollTop() / 1.1);
                if(getScrollTop() < 1) clearInterval(goTop);
            }
        }
    }
    goTopEx();

    /*设置屏幕高度*/
    (function () {
      setHeight();
      function setHeight() {
        var height = $(window).height()-170 + 'px';
        $("#goTopBtn").css("height",height);
      };
      $(window).resize(function() {
        setHeight();
      });
    }())
</script>
